import turtle
t = turtle.Pen()
t.penup()
t.speed(0)
turtle.bgcolor("black")
sizes = 6 #int( input("几边形") )
colors = ['red','green','yellow','blue','skyblue','orange']
names = []

for i in range (6):
    text = turtle.textinput('请输入','输入的文字')
    names.insert(i,text)
for x in range(300):
    t.color(colors[x % len(colors)])

    t.fd(x*10)
    print(x)
    t.write(names[x%6],font = ('Arial',x+1,'bold'))
    t.left(360 / sizes +3)
